
package com.huaweicloud.haydn.delivercore.agent.service;

import com.huaweicloud.haydn.delivercore.agent.config.DatabaseContext;
import com.huaweicloud.haydn.delivercore.agent.service.metadata.DatabaseUtil;

import lombok.extern.slf4j.Slf4j;

import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc;
import org.springframework.boot.test.context.SpringBootTest;

/**
 * @since 2022-11-15
 */
@SpringBootTest
@AutoConfigureMockMvc
@Slf4j
public class SqlserverTest {

    @Autowired
    DatabaseContext databaseContext;

    @Test
    void sqlserverConnect() {
        DatabaseUtil sqlserver = databaseContext.getStrategy("");
        sqlserver.init("", "", "", "", "", "", "", "");
    }
}
